<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" 
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>人物管理系统</title>
		<link th:href="@{/css/bootstrap.css}" rel="stylesheet" type="text/css" />
		<script type="text/javascript" th:src="@{/webjars/jquery/3.2.1/jquery.min.js}"></script>
		<script type="text/javascript" th:src="@{/js/util.js}"></script>
		<script type="text/javascript" th:src="@{/js/My97DatePicker/WdatePicker.js}"></script>
		<script type="text/javascript" th:src="@{/js/jquery.twbsPagination.js}"></script>
		<script type="text/javascript" th:src="@{/js/jquery-dateFormat.js}"></script>
		<script type="text/javascript" th:src="@{/js/power/power.js}"></script>
		<script type="text/javascript" th:src="@{/js/bootstrap.min.js}"></script>
		<style type="text/css">
			.table th, .table td { 
				text-align: center; 
			}
		</style>
			
	</head>
<body>
<div id="content" class="container-fluid">
	 <div class="row">
	 	<div class="col-sm-12">
	  		<!-- 检索开始 -->
	  		<div class="row">
	  			<div class="col-sm-12">
		  		 	<form  class="form-inline">
					<input type="hidden" name="pageNum" id="pageNum" value="1"/>
					<input type="hidden" name="pageSize" id="pageSize" value="10"/>
	  				<div class="form-group">
			  			<input class="form-control" id="powername" name="powername" value=''  placeholder="权限编码"/>
			  		</div>
			  		<div class="form-group">
			  			<input class="form-control" id="memo" name="memo" value=''  placeholder="权限描述"/>
			  		</div>
			  		<div class="form-group">
			  			<label>创建时间:</label>
			  			<input class="Wdate form-control"  type="text" id="startTime" name="startTime" value="" readonly="readonly"  onfocus="var endTime=$dp.$('endTime');WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'#F{$dp.$D(\'endTime\')||\'%y-%M-%d %H:%m:%s\'}'})" />
			  		</div>
			  		<div class="form-group">
			  			<label>-</label>
			  			<input class="form-control Wdate" type="text" id="endTime" name="endTime" value="" readonly="readonly"  onfocus="var startTime=$dp.$('startTime');WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'startTime\')}'!=''?'#F{$dp.$D(\'startTime\')}':'',maxDate:'%y-%M-%d %H:%m:%s'})" />
			  		</div>
			  		<div class="form-group"> 
			  			<a  href="javascript:search();"  class="btn btn-primary" style="text-decoration:none">查询</a>
			  		</div>
			  		<div class="form-group"> 
			  			<a href="javascript:getPower(0);" class="btn btn-success" style="text-decoration:none">添加</a>
			  		</div>
	  				</form>
		  		</div>
 			</div>
				<!-- 检索结束 -->
			<div class="row" style="margin-top:20px">
				<div class="col-sm-12">
					<table class="table table-bordered">
						<thead>
						<tr class="active">
							<th>
								序号
							</th>
							<th>
								权限编码
							</th>
							<th>
								权限描述
							</th>
							<th>
								优先级
							</th>
							<th>
								权限对应url
							</th>
							<th>
								创建时间
							</th>
			               	<th>
								操作
							</th>
						</tr>
						</thead>
						<tbody id="msg"></tbody>
					</table>
					<div id="result-items" >
						<ul class="pagination" id="pagination"></ul>
					</div>
				</div>
			</div>
	 	</div>
	 </div>
</div>
</body>
</html>